<template>
  <div class="home">
    登录名： {{$store.state.username}}
  </div>
</template>

<script>
// @ is an alias to /src
// import {getUser} from '../api/user.js'

export default {
  name: 'home',
  components: {
    
  },
  // async mounted() {
  //   let o = await getUser();
  //   console.log(o)
  // },
  methods: {
    
  }
}
</script>
